<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>装机方案-方案搜索</title>
		<#include "/WEB-INF/ftl/user/include.ftl" />
		<link type="text/css" rel="stylesheet" href="${base}/css/user/scheme.css" />
		<link type="text/css" rel="stylesheet" href="${base}/css/user/scheme_rank.css" />
        <script type="text/javascript" src="${base}/js/user/scheme_rank.js"></script>
	</head>
	<body>
		<#include "/WEB-INF/ftl/user/header.ftl" />
		<div class="navigation">
			<a href="${base}/schemeSearch.do">装机方案</a>&nbsp;&gt;
			方案搜索
		</div>
		<div class="wrapper">
			<div class="tab">
				<a href="${base}/schemeSearch.do">方案搜索</a>
				<a href="javascript:void(0);" class="selected">方案排行</a>
			</div>
			<div class="rank-kind">
				<h2 class="rank-kind-hd">综合排行榜</h2>
				<div class="rank-kind-bd">
					<div class="rank">
						<h3 class="rank-hd"><span>最新</span>装机方案</h3>
						<ul class="rank-list">
							<#list Session.timeRankList as scheme>
							<li>
								<#assign id = scheme.id?c />
								<#assign name = scheme.schemeName />
								<#assign price = scheme.price />
								<span class="icon">${scheme_index+1}</span>
								<a target="_blank" href="${base}/schemeDetail.do?id=${id}" title="${name}">${name}</a>
								<span class="price">&yen;<b>${price}</b></span>
							</li>
							</#list>
						</ul>
					</div>
					<div class="rank">
						<h3 class="rank-hd"><span>最热门</span>装机方案</h3>
						<ul class="rank-list">
							<#list Session.saleRankList as scheme>
							<li>
								<#assign id = scheme.id?c />
								<#assign name = scheme.schemeName />
								<#assign price = scheme.price />
								<span class="icon">${scheme_index+1}</span>
								<a target="_blank" href="${base}/schemeDetail.do?id=${id}" title="${name}">${name}</a>
								<span class="price">&yen;<b>${price}</b></span>
							</li>
							</#list>
						</ul>
					</div>
				</div>
			</div>
			<div class="rank-kind">
				<h2 class="rank-kind-hd">配件排行榜</h2>
				<div class="rank-kind-bd">
					<#list Session.brandRankLists?keys as key>
					<div class="rank">
						<h3 class="rank-hd"><span>${key}</span>装机方案</h3>
						<ul class="rank-list">
							<#list Session.brandRankLists[key] as scheme>
							<li>
								<#assign id = scheme.id?c />
								<#assign name = scheme.schemeName />
								<#assign price = scheme.price />
								<span class="icon">${scheme_index+1}</span>
								<a target="_blank" href="${base}/schemeDetail.do?id=${id}" title="${name}">${name}</a>
								<span class="price">&yen;<b>${price}</b></span>
							</li>
							</#list>
						</ul>
					</div>
					</#list>
				</div>
			</div>
			<div class="rank-kind">
				<h2 class="rank-kind-hd">价格排行榜</h2>
				<div class="rank-kind-bd">
					<#list Session.priceRankLists?keys as key>
					<div class="rank">
						<h3 class="rank-hd"><span>${key}</span>装机方案</h3>
						<ul class="rank-list">
							<#list Session.priceRankLists[key] as scheme>
							<li>
								<#assign id = scheme.id?c />
								<#assign name = scheme.schemeName />
								<#assign price = scheme.price />
								<span class="icon">${scheme_index+1}</span>
								<a target="_blank" href="${base}/schemeDetail.do?id=${id}" title="${name}">${name}</a>
								<span class="price">&yen;<b>${price}</b></span>
							</li>
							</#list>
						</ul>
					</div>
					</#list>
				</div>
			</div>
			<div class="rank-kind">
				<h2 class="rank-kind-hd">类型排行榜</h2>
				<div class="rank-kind-bd">
					<#list Session.typeRankLists?keys as key>
					<div class="rank">
						<h3 class="rank-hd"><span>${key}</span>装机方案</h3>
						<ul class="rank-list">
							<#list Session.typeRankLists[key] as scheme>
							<li>
								<#assign id = scheme.id?c />
								<#assign name = scheme.schemeName />
								<#assign price = scheme.price />
								<span class="icon">${scheme_index+1}</span>
								<a target="_blank" href="${base}/schemeDetail.do?id=${id}" title="${name}">${name}</a>
								<span class="price">&yen;<b>${price}</b></span>
							</li>
							</#list>
						</ul>
					</div>
					</#list>
				</div>
			</div>
		</div>
		<#include "/WEB-INF/ftl/user/footer.ftl" />
	</body>
</html>
